<% if @landmarks.blank? %>
	<p>Sorry, there are no landmarks yet.</p>
	<%= button_to 'Add New', :action => :new %>
<% else %>
<%= startmapsetup %>

<%= showlandmarks(@landmarks) { |l| landmarkdesc(l) +'<p>'+link_to('Edit',edit_landmark_path(l))+' | '+link_to('Delete', landmark_path(l), :confirm => "Are you sure?", :method => :delete).gsub(/'/, "\\\\'")+'</p>' } %>
<%= endmapsetup %>

	<div id="map_canvas" style="width: 500px; height: 400px;float:left"></div>
<% if self.current_user.can('create:landmark', nil) %>
<div style="float:right;"><%= button_to 'Add New', :action => :new %></div>
<% end %>
<% end %>
